fixing hash key