forkbug and spawn
improvements