fix get groupList function