corrected length of header and footer

corrected length of header and footer