changed encoding of checksum