fixed entity spawning