restored previous index
fixed config