bug fix in unset variables in bash.