fixed BatchInserter reference