fixes commutator relations.  Need to pass an extra input for left and right