fixed error in pearson