fix migration of judge types