small divide by zero fix