optimize the import progress