Re-updated Validation

Fixed an error