modify expanded variable