Fixed a unicode decode error when data is undecodable