Fixed bug with teams in settings