fixed bug with calling team