fix #52 - access to outer scope from lambda