Fix indices