fix get parent process