Their performance was riddled with mistakes and the game swung in Liverpool 's favour after a nightmarish moment for Adil Rami , the Lille centre-half obligingly sticking out a leg as Lucas ran on to the ball inside the penalty area .