fix define for lambdas