Validate method fixed.