bugfix get_page_headers