fixes for header location