possible fix for #129
division by zero