JIM McInally admitted Peterhead were lucky to beat Brora Rangers after a “terrible” performance.
The Blue Toon won 3-2 but were totally outplayed for most of the match.
The League One club trailed 2-0 after 75 minutes before three goals in five minutes turned the game around.
The result ends their recent bad run but the display left many at Balmoor frustrated.
Brora took the lead against a much-changed Peterhead side after 18 minutes.
Zander SUTHERLAND latched on to a thorough ball, rounded Fraser Hobday and stroked home.
And three minutes into the second half, Paul BRINDLE raced on to keeper Joe Malin’s long punt and dinked past the onrushing Hobday.
Until 75 minutes, Brora were comfortable but Jordon BROWN pounced to head in on the rebound.
And substitute Rory McALLISTER made it 2-2 just two minutes later with a low drive.
The comeback was complete on 80 minutes when Leighton McINTOSH raced away to win it.
McInally, pictured, didn’t try to sugarcoat what was an abject display.
He said: “I’m pleased with the comeback but what a terrible performance.”
He added: “As soon as we got the goal, we picked up a wee bit but let’s not kid ourselves, it was far from good enough.
“It’s great to go through but we’re lucky to be through.”