Germany striker Timo Werner scored each side of the break to steer his side from behind to a 3-1 win over Ukraine in their Nations League match on Saturday as they topped the group with a game left to play.

Stream LIVE games and replays on ESPN+ (U.S. only)

Werner scored twice after Leroy Sane had cancelled out a surprise 12th minute lead for the visitors, who had four players, including top striker Andriy Yarmolenko, ruled out after testing positive for COVID-19 on the eve of the game.

The Germans, in the midst of an overhaul following their 2018 World Cup first round exit, are now top of Group A4 on nine points, one ahead of Spain who they visit on Tuesday. The top team qualify for the final stage of the competition.

Ukraine are third on six points.

“I think we did it well,” Sane said. “They went in front and we could have avoided it because we started well. But the way we came back was strong.

“There were some mistakes from our side but that’s part of this process. What was important was to get the three points and that’s what we did.”

The Germans got off to a strong start but had to come from behind after Roman Yaremchuk scored against the run of play.

Leon Goretzka set up the next two goals, first launching a quick break and sending Sane through for the equaliser in the 23rd minute and then controlling a Robin Koch cross and lofting the ball for Werner to head the hosts in front 10 minutes later.

Germany, with the full Bayern Munich contingent back in the squad after being rested in Wednesday 1-0 win over the Czech Republic in a friendly, still showed gaps in defence, having now managed just one clean sheet in their last seven matches.

Ukraine almost equalised in the 53rd when Oleksandr Zinchenko‘s deflected shot beat goalkeeper Manuel Neuer but bounced off the post.

Werner fired in his second goal of the evening in the 64th before Ukraine hit the woodwork twice more in a strong finish.