fixing issues with ServiceGroup APIs