corrected team_view context variable