fixed looping of respawning