fix RunProcess