formatting fixes for header template