Fix spawn.