Fix for parallel.py