fix header and footer for onecolumn layout