set default value only if variable is not set.