added expect stash var support