ai
fixed rounding error