added possibility to merge a node path