fix bug of image