Validation, setDefaultMessages fix