fix case with the field required in root