edit index, remove index2