fix LineString parsing