Fix linestring