improve child spawning