fix bug in search_page when the is massive