fixed op.div has disappeared in python 3