fixed an error with kruskal-wallis test