index and vertices get right