fix bug with setting title on image metadata