repair images bad.