bugfix in mean confidence interval