fix class CheckWinning