fix process.C bug