fixed issue with repeating leaf nodes

fixed issue with repeating leaf nodes with same names