fix wrong value of var TERM=""