fix k-cv issues