restor index