fixed getLineString