fix the bug that the search resulf appears twice

fix the bug that the search results appear twice