Fixed a validation issue