permutation notebook finding bug