fix broken modulus commands