Fixed bugs for the multiple_seg_node