Fix batch import