Fixing hash bug.