Removed unused import.
Corrected invalid indexes.