Minor fix: offset error