unify setting.name function.