revert back to index