New variable still not visible in closures