fix the modulus operator action