modify header and footer