Fixed bug in mod and div.