Typo fixed.
Fixed bug where process status was not assigned correctly upon process creation.