fixed dynamic method calling from lambda function.