RatioCalculator fix