fixing hash traversal.