refine header file