CBS’ “Big Brother” and NBC’s “America’s Got Talent” were in line with last week’s averages on Wednesday to lead the night, which also saw a ratings spike for repeats of ABC’s “Modern Family,” which had captured another Emmy for best comedy two nights earlier.

According to preliminary national estimates from Nielsen, CBS won Wednesday in key demos behind the steady “Big Brother” (2.3 rating/8 share in adults 18-49, 6.8 million viewers overall), which matched its Wednesday season high in the demo while also drawing its largest overall audience on the night this summer. It was followed by another two-hour “Extant” (1.1/4 in 18-49, 5.7 million viewers overall), which was up a bit from the 1.0 it had earned the previous three weeks.

NBC, which was second in demos Wednesday while winning in total viewers, followed an “America’s Got Talent” repeat (1.0/4 in 18-49, 5.5 million viewers overall) with the “Talent” results show at 9 (1.8/6 in 18-49, 9.3 million viewers overall); it matched last week’s prelim score (a series low) and was down a tenth from its national of the last two weeks. It was easily Wednesday’s most-watched program overall.

Closing the night, “Taxi Brooklyn” (0.8/3 in 18-49, 4.7 million viewers overall) matched its low of last week. The fits-year show has been in the 0.8 to 1.0 range since its premiere.

ABC aired repeats of “The Middle” (1.0/4 in 18-49, 4.1 million viewers overall), “The Goldbergs” (1.0/4 in 18-49, 3.8 million viewers overall) and then “Modern Family” at both 9 (1.4/5 in 18-49, 4.5 million viewers overall) and 9:30 (1.5/5 in 18-49, 4.4 million viewers overall). “Modern,” which on Monday night took home the best comedy Emmy for a fifth straight year, was up 21% in 18-49 from its hour of repeats the previous week (1.45 vs. 1.2) while adding about 500,000 total viewers.

The Alphabet wrapped Wednesday with the season finale of “Motive” (0.9/3 in 18-49, 3.7 million viewers overall), which seemed to benefit from its stronger lead-in and was up a tenth to match its top score since mid-June. It edged ahead of NBC’s “Taxi Brooklyn” in 18-49 and finished closed behind CBS’ “Extant” in the demo.

At Fox, “So You Think You Can Dance” (1.1/4 in 18-49, 3.6 million viewers overall) bounced back from its series low of last week, rising 22% (0.2) but still unable to finish better than fourth for its two-hour block.

CW’s “Penn & Teller: Fool Us” (0.5/2 in 18-49, 1.7 million viewers overall) remains the most consistent performer this summer, matching the demo score it had notched with each of its first four outings.