singularity fixes in covariance