fixed the header and footer