error fix in read polyline