fixing hash