Fix lbfgs