fix find_api_page for py3