fixing header and footer