Fix header and footer