1) The width of columns was incorrectly determined on windows, fixed by increasing the size of the dummy buf. 2) Added additional brackets to string for consistent formatting