fix a few issues with get team info by team id