fix editing titles and captions of figures