Fixed checksum bug