clean up svg each time