Avoid var out of waterfall