Fixed rounding issue