history expansion fixed: EOF && error message