rename sub program nodes