revise parsing of index in case index was created via shell