bug fix of image show