fix checksum_size issue