Fix LineString method call error