changed place parseSVG function