adding divide by zero bugs