fix for issue #222; also fixed occurance of get_page_headers in the footer (!)