dht fixes

Fixing dht issues.
addressed in 88cc1e2