header and footer correctly seperated