bug fix for team totals