get nstance of index depends on project