remove extra newline
added history