change the way to draw svg