Fix Bug
Add flag in onSpawn onDestroy