solve apple respawn bug