Fixed a problem in processes with no raw main