patched _cov_2_corr bug