header template formatting fixed