try not to divide by zero