work with SIGCHLD ver2