judge registration bug fix