fixed line ending in output