fix aggregation of fractions