fix bug: model._validations is undefined