remove unneeded newline