header/footer cleanup