correct the images