cleaning up graph importer