Fixed endgame.