teams bugfix