fix on error extracting exif data