more protection on header/footer elements