Fix fractions bug