edited svg_base for ninja