fixed the second line segment