Fixing has_key to be has_key?