corrected header and footer