[code] fix exif integration with invalid exif