dht fixes

Fixing dht issues.