fix Team relationships