Made team.php more responsive