fixed header and footer issues.