fix permutation bnode