fixed find_variable bug with stacked