fixed formatting of output