fixed getallProjects (ArrayIndexing)