fixed distr test errors