Fixed error in setting the label versus the name for a tool reference