fixed multipage breakage, fixed polylines