diff --git a/neo/storage/operation.py b/neo/storage/operation.py
index 8090b5be530c454521fa62db723e0a003af51a83..da130d337292f678b06b2363fab2366928a2feb7 100644
--- a/neo/storage/operation.py
+++ b/neo/storage/operation.py
@@ -221,7 +221,7 @@ class OperationEventHandler(StorageEventHandler):
                 node = nm.getNodeByUUID(uuid)
                 if node is None:
                     node = StorageNode(uuid = uuid)
-                    if uuid != self.uuid:
+                    if uuid != app.uuid:
                         node.setState(TEMPORARILY_DOWN_STATE)
                     nm.add(node)