fix db importer