cleanups to the SVG wrapper parts