JC: fixed bug in process model and view.