fix customSearchProvider