fixed non-return in grab_page_links