Deal with a corrupt image problem