don't use a stack var out of scope