Fix team page loading issue