fix search_knn