fixed bug with decodeMessageFromPicture