fixed spawner errors