fix issue with respawn