solve checksum bug