fix permutation test again