fix mistakes index