Fixing checksum computation.