fix a validation