exif error handling