Revert "edit index"

This reverts commit 2bb4dca78bd77873270434398da8d85d111fc965.