commiting the batches issue after fixing