fix fraction in sums