cleaning up header and footer