fix getProjects-method