bug in creation of group list