fixed find winner's bug