polylines now casted the right way