fixes can not add image error