empty svg before redrawing