Index repetition solved