change header and footer, and fix one data issue with extra space