Fix to bug 03 - Divide by zero