refactoring get Group name