bug fix in images