separate header and footer
fix more