Fixed issue with teams