Fix win condition