Integrity checking fixed.