fix ZeroDivisionError if both orig and result are zero.