end cleanup KCL