Bug with rounding fixed