Division by zero fix

K/D division by zero fix