move item retrieval in private method in projects_controller