improved permutation checker slightly