fix missing newline output