fixed input commutator running in the wrong direction