improvents to get child process