fix offset typo