move header guard to the top