adjusting header and footer