Fix the cli batch processing yield