fix error with empty nonteam var