pipeline-multi.py patch