k- means fix