fixed validating setName