Arturo Vidal scored a scruffy late winner as La Liga leaders Barcelona came from behind to beat bottom club Leganes.
While Barcelona toiled in reaction, youssef En-Nesyris magnificent attack put Leganes ahead.
The winners improved after the break and Luis Suarez equalised using a clinical header.
Vidals end put the leaders three points clear of rivals Real Madrid, that play Real Sociedad (20:00 GMT).
The midfielders goal was fortuitous, Ousmane Dembeles corner deflecting kindly off Ruben Perez and falling.
Barcelona have lost three times this season and appeared nervy deservedly falling behind when En-Nesyri chose out the corner after 11 minutes.
Since their customers struggled to get moving in the final third the home sides lead must have doubled but seen the side-netting.
Following half-time, Barca centre-back Gerard Pique hit on the post but theyll be relieved to have escaped from this fixture with all three points.

Read more here: http://my-oja.net