fix error rounding