fixed divide by zero again