Substitute Paulinho scored a late winner as Barcelona came from behind to beat Getafe 2-1 and continue its perfect start to the new LaLiga season.
The Brazil international netted his first Barca goal with six minutes remaining as Ernesto Valverde's men recovered from a dreadful first half to claim a fourth straight top-flight victory in 2017-2018.
The visitors lost Ousmane Dembele to injury in the opening period of his full LaLiga debut and their afternoon got worse when Japan international Gaku Shibasaki scored his first Getafe goal in stunning fashion before the break.
But another of Valverde's subs, Denis Suarez, scored his first goal since January as the visitors battled back in the second half, before Paulinho grabbed the winner just as it looked like they would have to settle for a draw.
League leader Barca now has 12 points from its first four games and sits seven clear of reigning champion Real Madrid, whose game in hand is a testing away trip to in-form Real Sociedad on Monday (AEST).
Getafe remains on four points and has now gone 10 LaLiga matches without a home win, despite this brave performance.