restoring the old index