#28  validations before save