fixing hash loading