Hack for polyline. Bug fix upload.