[bug] Fix nested ratios