fixed spawned process parameters issue