an actual fix for the runaway process simulator