fixed problem with Distribution.df