fix group->id getter in index