Fixed checksum check