Fixed teamnamelookup (function undefined)