tested and fixed coalescing nodes of same name