The same galaxy before and after the repair

Why the images were blurry
The primary mirror had a small error in its shape. Light reflected from different parts of the mirror came to different focal points. Stars acquired diffuse halos, and fine details became hard to see. This is called spherical aberration.
Corrective optics in orbit
During five spacewalks, the astronauts installed a new camera called WFPC2 with its own correction and a device called COSTAR. COSTAR’s small mirrors corrected the light going to several other instruments. The primary mirror stayed in place.

How astronomers checked the repair
Astronomers compared images of the core of spiral galaxy M100 taken before and after the servicing mission. Features that had previously blurred together appeared distinctly in the new image. The same target provided a direct check of the improvement.