made K-NN cleaner