fix bug in nest_lc: cov->res.covariance