need to correct sign for permutations