fix batchInsert()