before deleteFIgure