cleanup after import