fix controller for projects index view