moved header.tpl into common