add image bug fix