fixing svg draw