corrected scaling of rationals to fraction of ints