fix vertex indexing skew