handle improperly saved figures