clean the export