fixed lambda function error in config