Fix indices.