don't do empty batchs