Jim O'Brien's second Notts County hat-trick was enough to see Luke Williams' side come away 5-2 victors at Maidstone - but it wasn't made easy for the promotion chasers.
The Magpies took five minutes to take the lead when Cedwyn Scott scored before O'Brien claimed his first of the afternoon with a fine finish high into the roof of the net.
When the Scottish midfielder notched his second on the hour-mark, many predicted Notts would cruise to three points, but two goals in two minutes from Maidstone duo Roarie Deacon and Harry Fowler had supporters of Wrexham cheering on the already relegated Stones.