fixed friedman test calls