comments out restoreIndex();