fix the winner def