images bug fix