fix crash when process not created