updated header and footer fix