removing permutation