fix Tool in Tool merging problem