error with header and footer.