Rounding error fix