fix random loser selection