Real ratio bug fix