revert back index