fixed missing when two segments in one line