updateethrates() fix divided by zero