Fix spawning.