fixed required-validation