Adam Wainwright won in his first appearance at Progressive Field, Paul DeJong hit a go-ahead homer and the St. Louis Cardinals beat the Cleveland Indians 4-2 Tuesday night.

DeJong’s two-out, two-run drive in the seventh inning off Bryan Shaw (3-5) put St. Louis in front 3-2. Harrison Bader also homered, doubled twice and stole a base as the Cardinals moved back over .500 at 51-50.

St. Louis tacked on an insurance run in the ninth when reliever Phil Maton walked Dylan Carlson with the bases loaded. Alex Reyes picked up his 24th save in 25 opportunities.

Cal Quantrill matched his season high with six innings for the Indians, allowing four hits, including Bader’s homer. The right-hander exited with a 2-1 lead and has not lost in nine starts since June 6.

Ramírez put Cleveland ahead 2-1 in the fourth with his 21st homer. The Indians have lost 16 of 23 to sink into seventh place in the AL wild-card race, possibly making them a seller heading into the trade deadline Friday.

“I’m concerned because of the games we’ve lost, but it’s our job to come back out and go get wins,” Ramírez said.