add deleteFigure