remove extraneous newline