fixed new lines in output