corrected typo in Pearson func