Fix function lambdas