hf lib fixed and works fine