fixed macro for anonymous lambdas