fix ordinal offset