fix bug in roster.groups check api