fix NF RatioCalculator divide by 0 exception