bug of image not changing fixed