Fix possible wrong checksum calc