pipeline.py: second fix