fix crash when no EXIF tags is present