fixed error related with IEnumerable.Any invoke