correcting the image visualization