spawning
fix spawning