adjust the vector offsets to match stdc changes