fixing the fixed length rounding problem