fixed PoolSpawn.cs based on change in entity