fixing for num/denom/percent