fixed rounding error