diff --git a/src/cutecoin/core/net/network.py b/src/cutecoin/core/net/network.py
index 26d1a4c9a1fabe61478e878afe8b2ac24c2dc402..cae7e7afaa80cd529b288c0620ddcdaaa305203e 100644
--- a/src/cutecoin/core/net/network.py
+++ b/src/cutecoin/core/net/network.py
@@ -220,6 +220,7 @@ class Network(QObject):
             node.check_sync(self.latest_block)
         else:
             if node.last_change + 3600 < time.time():
+                node.disconnect()
                 self.nodes.remove(node)
                 self.nodes_changed.emit()
 
diff --git a/src/cutecoin/core/registry/identities.py b/src/cutecoin/core/registry/identities.py
index 68576072fea55a19cbc726b92608a1aa4eb6f5e9..9cb8032bce23eda20d5727a03bad7bef8a466f9d 100644
--- a/src/cutecoin/core/registry/identities.py
+++ b/src/cutecoin/core/registry/identities.py
@@ -68,6 +68,7 @@ class IdentitiesRegistry:
     @asyncio.coroutine
     def future_find(self, pubkey, community):
         def handle_certifiersof_reply(reply, tries=0):
+            err = reply.error()
             if reply.error() == QNetworkReply.NoError:
                 status_code = reply.attribute(QNetworkRequest.HttpStatusCodeAttribute)
                 if status_code == 200: