simplify how header is rendered.