fixing checksum calculation