remove dead code from polyline formatter