fix for lambda function on windows added