Fox’s “American Idol” ruled as the top program in key demos Wednesday, while CBS drama “Criminal Minds” and ABC comedy “The Goldbergs” were the standouts on the scripted side on a night when the Alphabet’s “Modern Family” was in repeat. Elsewhere, CW saw “Arrow” point up in its return, while NBC’s hot “Chicago PD” cooled off.

According to preliminary national estimates from Nielsen, “American Idol” (2.4 rating/8 share in adults 18-49, 9.2 million viewers overall) was down a tenth from last week but stood as Wednesday’s No. 1 program in 18-49 as well as adults 25-54 (3.2/9), adults 18-34 (1.5/6) and total viewers. And the net’s new drama “Second Chance” (1.0/3 in 18-49, 3.9 million viewers overall) was down 17% (0.2), a fairly typical week-2 decline, placing a distant fourth among the Big Four networks at 9.

CBS had a good night, with its three-hour 18-49 average tied with Fox’s two-hour average for the night’s lead and the net winning outright in 25-54 and total viewers. “2 Broke Girls” (1.7/6 in 18-49, 6.7 million viewers overall) and “Mike & Molly” (1.6/5 in 18-49, 7.0 million viewers overall), which will continue to air in these timeslots for three more weeks, were steady kicking off the night. “Criminal Minds” (2.0/6 in 18-49, 9.1 million viewers overall) was again above average at 9 p.m., matching last week’s season high and winning the timeslot in most categories. Closing the night, “Code Black” (1.4/5 in 18-49, 7.2 million viewers overall) was up 0.2 to pull within a tenth of NBC’s “Chicago PD” for the 18-49 broadcast lead. This was the third best score in 13 airings for “Code Black,” which wraps its rookie season next month.

At The CW, “Arrow” (1.1/4 in 18-49, 2.8 million viewers overall) was up a tenth from its prior original as it was back in originals for the first time in six weeks. It led its 8 p.m. hour in men 18-34 (1.2/5), rising 20% (0.2) from its Dec. 9 episode. “Supernatural” was also back (0.7/2 in 18-49, 1.8 million viewers overall), matching its Dec. 9 score. For the night, CW was up across the board from the comparable Wednesday last year.

ABC opened with “The Middle” (1.8/6 in 18-49, 7.2 million viewers overall) and “The Goldbergs” (2.0/6 in 18-49, 6.2 million viewers overall), with the former down a tenth and the latter holding steady; opposite special CBS comedy competition in the hour, both seemed to be a little soft to start the new year. A “Modern Family” repeat was the lowest-rated half-hour of the comedy block for the night (1.6/5 in 18-49, 5.8 million viewers overall), with “Black-ish” (1.7/5 in 18-49, 5.7 million viewers overall) down 0.2 week to week without a firstrun lead-in. And at 10 p.m., “American Crime” (1.0/3 in 18-49, 3.8 million viewers overall) was down a tenth for a second straight week following the 1.2 it did with its Jan. 6 premiere; at this level, it’s still at about the average for previous timeslot occupant “Nashville.”

At NBC, “The Mysteries of Laura” (1.2/4 in 18-49, 7.0 million viewers overall) matched last week’s season high, and hasn’t done a higher rating since last February’s episode featuring a visit from guest star (and star Debra Messing’s “Will and Grace” co-star) Eric McCormack. The rest of the net’s lineup cooled though, with “Law & Order: SVU” (1.7/5 in 18-49, 6.9 million viewers overall) down 0.3 and falling back behind “Criminal Minds.” “Chicago PD” (1.5/5 in 18-49, 6.4 million viewers overall), which had hit season highs the last two weeks, came back to earth; it narrowly beat “Code Black” in 18-49.