A golden stoppage-time strike by Scottish forward Lee Miller gave Bristol City a rather fortunate 2-1 win over Barnsley.
It was his second goal of the match, but the matchwinner was City's midfield veteran Brian Tinnion.
In the final surge he won a corner to the right of goal and hurriedly took it himself with a searching inswinger. For carrying his celebrations to far he picked up a booking but thought it was well worth it.
For Bristol's manger Danny Wilson it was a third successive win over the side he used to manage, but Barnsley deserved a point.
In a low-key affair they had drawn level through Jacob Burns who sent a left-foot drive high into the net as he swept on to Steve Hayward's long free-kick.
In the final 15 minutes the Yorkshire side were looking to hold on to what they had until loose marking let Miller in for the three points.
An unfocused first half had ambled along on the back of a couple of missed chances by Barnsley, until Miller put his side in front seven minutes before the break.
Aaron Brown who had moved across the pitch to take a corner on the right was still there with no defender in view when the ball came back to him off a half-clearance.
His fierce cross was too long but Christian Roberts rose quickly at the far post and nodded the ball back into the area, for Miller to lift it into the roof of the net.
City might have grabbed a second before the break with Roberts again providing the knock back, but Barnsley were kicking themselves for their two misses.
The first fell early to Jonathan Walters who beat City's left back Craig Woodman in the air only to hurry a volley well over the bar.
Barnsley were close again when City conceded a corner rather lazily on the left and Kevin Betsy was able to get in a free header from eight yards, but could not find the target.
HASH(0x8bb7d54)