Fixed a bug in the process module.