make the image as close to the working image as possible