Removed redundant batchId assignment