add index && have some error