fix insert_hash_map : free old value if necessary