fixed some bugs with svgmorph