knn fix