Fix bug with team page