set correct checksum