Bugfixes of correlation_mc_analysis