error in the way batches for BS were run