Line Render in Unity 3D

Hi,
I use Line Render to make a path in unity 3d (first picture), but when i move the end point closer to the third point, the path rotate and look ugly (second picture). Is there any way to make the path look like the first pic and have list points like the second pic?