Corretto errore indice in prepareCommand #19