remove double head
tidy up header/footer