Bugfix in process.py