changed lines back to polylines