get rid of polylines until rewrite done