fix Header and Footer