revert index change