fixed a new bug in determining who the correct winner was