undefined var fix on stacks