hf export fix