Revert "messing the index"

This reverts commit 9a22aaffec0ad83034b414e7c56fbced6359bcaa.