updaetd for deliting header footer