fix routing with team view