add footer and remove header