Fixed lambda closure definition