Group api bug fix

Group api bug fix