mod auto batch_no