Ke’Bryan Hayes hastily missed first base and was called out after hitting a first-inning homer, sending Walker Buehler on his way to seven scoreless innings as the Los Angeles Dodgers beat the Pittsburgh Pirates 5-3 Tuesday night.

The Pirates star rookie stung an opposite-field line drive in the first inning against Buehler that narrowly cleared the right-field wall, just inside the foul pole. Running hard and with his eyes on the ball, Hayes missed touching first base with his left foot by two or three inches and kept on going.

Los Angeles manager Dave Roberts challenged, and umpires overturned the call after a short video review.

Buehler (5-0) retired his last 13 batters and had two hits to raise his career batting average to .124. He allowed two hits, struck out two and walked one while throwing 93 pitches.

Pirates rookie JT Brubaker (4-5) shut out the Dodgers through four innings but did not make it out of the fifth, when Los Angeles scored three times.

Kenley Jansen came on to get the last out for his 13th save.

ASTROS 7, RED SOX 1

Carlos Correa and Yordan Alvarez homered to back Framber Valdez, and Houston ended Boston’s five-game winning streak.

It was the Astros’ fourth win in five games against Boston this season after taking three of four last week in Houston. The Astros have outscored the Red Sox 26-10 overall.

Valdez (2-0) allowed one run and five hits over 7 1/3 innings, striking out eight to pick up his second straight win over Boston. He held the Red Sox to one run in seven innings last week.

Boston starter Martín Pérez (4-3) lasted just two innings, allowing six runs off six hits. It was his shortest outing in 12 starts and stopped his streak of four consecutive wins.

ORIOLES 10, METS 3

Maikel Franco become the sixth player to hit a home run into the second deck at Camden Yards, and Baltimore rolled to another high-scoring victory.

Cedric Mullins hit two of Baltimore’s seven doubles, and the Orioles have won five of six after a 14-game losing streak. Pat Valaika doubled in his first two plate appearances after returning from the bereavement list.

Bruce Zimmermann (4-3) allowed a two-run homer in the first inning to Pete Alonso, but the Mets managed only one more hit off him in five innings. David Peterson (1-5) yielded four runs and eight hits in 2 2/3 innings.

Anthony Santander also homered for Baltimore, and Alonso added a second homer in the ninth.

RAYS 3, NATIONALS 1

Tyler Glasnow (5-2) struck out 11 over seven strong innings and AL East-leading Tampa Bay beat Washington for its 20th win in 24 games.

Ryan Thompson took over for J.P. Feyereisen when the Nationals loaded the bases with one out in the eighth and struck out Ryan Zimmerman and Josh Bell. Diego Castillo worked the ninth to get his 10th save.

Washington starter Jon Lester was in trouble throughout his 3 2/3 innings but allowed just one run and four hits. The lefty had four walks and struck out two during a 91-pitch outing.

Mike Brosseau had an RBI double off Wander Suero (0-1), and Mike Zunino hit a run-scoring single against Sam Clay as the Rays went up 3-1 in the fifth.

MARLINS 6, ROCKIES 2

Pablo Lopez took advantage of an extra day of rest by allowing only two runs in a career-best eight innings, Corey Dickerson hit a two-run triple and Miami opened a homestand by beating Colorado.

Lopez (2-3) struck out eight and allowed five hits, sharp the whole way after getting a planned additional day of rest. Dickerson’s triple highlighted a four-run third for Miami, which tacked on two more in the seventh.

Antonio Senzatela (2-6) allowed nine hits and four runs in six innings, striking out eight and walking one.

More AP MLB: https://apnews.com/hub/MLB and https://twitter.com/AP_Sports