fix table columns when adding new group