fix list_teams()/whitelist_team()/blacklist_team()