fixed another bug in spawnremove