fixing no hash bug