Fix the offset.
Fix the offset checking code.