fix the process.py bug