bugfix for ProjectsController