fix tie caused winner to be None