fixed KNN recall&precision error