modified hash_quote