one's complement sum was not correctly done, which could result in the checksum being 0xFFFF instead of 0 in some cases.