fixed get winner method