change from path to polyline