deal with unset variables