fixed the respawn bug and removed hasRespawnedOnce global variable