cleaning details of runKexp
cleaning of data types