fix bug in get group