fix divMod for integer