fixed the search page bug