– Jamal Agnew quickly made up for two fumbles and the Detroit Lions defense stepped up when their special teams almost blew it.

Matthew Stafford threw a touchdown pass to Marvin Jones, Agnew returned a kickoff 100 yards for a score and the Lions held on to beat the Philadelphia Eagles 27-24 on Sunday.

"It's good to get wins not playing your best football," Stafford said. "We're not playing our best, we kept battling. Finding ways to win as you're getting better as a team is a good thing."

The Eagles had a chance after Malcolm Jenkins blocked Matt Prater's 46-yard field goal try with 1:53 left. Rasul Douglas returned it to the Lions 22, but an illegal block on Jenkins pushed the ball back to midfield.

On fourth-and-5, Darren Sproles caught a pass for a first down but got called for Philadelphia's third offensive pass interference. Wentz's deep pass to J.J. Arcega-Whiteside fell incomplete with 41 seconds left. The rookie receiver said he should have caught it.

"It's the moment you ask for and dream about," Arcega-Whiteside said. "I've got to make the play."

The Lions (2-0-1) remain unbeaten; the Eagles (1-2) have lost two in a row.

Agnew got Detroit started by going the distance after Philadelphia jumped ahead 3-0. He atoned for mistakes in the first two games.

"I owe it to my teammates and the coaching staff for sticking with me," he said.

Jones had six catches for 116 yards, including a 12-yard TD reception that extended Detroit's lead to 27-17 on the first play of the fourth quarter.

Carson Wentz threw a pair of touchdown passes to Nelson Agholor, but came up yards short on a scramble on fourth-and-8 late in the fourth.