changed hash into hash_key