repush header and footer