repair the search featrue