cleanup ksh