Another fix in set_winner method