fix SUB and modulo operator