Corrected calls to get team name