impact_team.php fixes