clearing the figure before it's made