attempts to fix images.