revert index changes