cleanup kexceptions