fix for float rounding