cimport cleanup