Fixed bug in process.cc.