fix syntax error in team model