Fix number output issues.
fixed integer output formatting