add a check to make sure makernote is parsed as a buffer before
processing