diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp
index b7771d56..20c9f3aa 100644
--- a/daemon/HTTPServer.cpp
+++ b/daemon/HTTPServer.cpp
@@ -358,7 +358,7 @@ namespace http {
{
s << "
\r\n
\r\n
\r\n";
for(auto& it: dest->GetLeaseSets ())
- s << it.second->GetIdentHash ().ToBase32 () << " " << (int)it.second->GetStoreType () << "
\r\n";
+ s << it.first.ToBase32 () << " " << (int)it.second->GetStoreType () << "
\r\n";
s << "
\r\n
\r\n";
} else
s << "LeaseSets: 0
\r\n";