Fixed error message regarding divide by zero