fixing pearson and packages directory