fix a small bug in KMedoid output