Fix bugs in running the importers