Leggi bene quello che ti ho scritto sopra. Cosa stai utilizzando come *indice* dell'array?