Fix for lambdas inside (function)