fix fine tuning and rounding