[delete] useless header and footer elements