cleaning up ctr related stuff