correction on offset math