Fix the bug of including head file

- FIX : solve the bug of including head file as a loop