checksum checking patch