hf xml fix