patch mod_hash