hf_fix_signature