fixed the validation

Validated now