fix a bug that it doesn't work at first page of search result.