fixes the winner choosing