Fix rounding problem