merge header footer & body