fixed getName validations