unify header and footer