Fix 'var'ed variables unreachable