removes both header/footer