bug fix respawn