fixed bug in MK.classp