process spawning/killing bug fixed