fixes to projects controller