fix checksum checking issue