fix bug on none api-group case