fix pearson correlation