fix expanding variable.