remove globals subd and subc