fixed respawn bug