added place for error message into header template