found a bug for teams in set_sync_master. Commit before I start experimenting with fixes