A second half brace from Antoine Griezmann saw Barcelona avoid an upset as they came from a goal down to beat third division side UD Ibiza 2-1, in the round of 32 of the Copa del Rey on Wednesday.
Barcelona who were without Lionel Messi, went behind in the 9th minute as Javi Perez scored.
Every effort by Barcelona to get back into the game proved abortive as UD Ibiza held firm.
But their resolve was eventually broken as Griezmann equalised in the 72nd minute.
And in the 94th minute, Griezmann scored the winner to send Barcelona into the next round.