# matchList fails when using match label in latest version

**URL:** <https://forum.heroiclabs.com/t/matchlist-fails-when-using-match-label-in-latest-version/2066>\
**Category:** Runtime Framework\
**Tags:** server-framework\
**Created:** [November 6, 2021, 9:44am UTC](https://forum.heroiclabs.com/t/matchlist-fails-when-using-match-label-in-latest-version/2066 "2021-11-06T09:44:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leonidas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/leonidas/32/519_2.png) [@Leonidas](https://forum.heroiclabs.com/u/Leonidas)\
**Post date:** [November 6, 2021, 9:44am UTC](https://forum.heroiclabs.com/t/matchlist-fails-when-using-match-label-in-latest-version/2066/1 "2021-11-06T09:44:06Z")

</div>

In the latest version we have trouble getting listed matches based on the match label.

We’ve been using the following code in our TS runtime which works beautifully up to 3.7.5:

```auto
const matches = nk.matchList(10, true, ctx.matchLabel);

```

In the newer versions matches results always to 0. The `ctx.matchLabel` property correctly returns the correct label e.g. `-1_2`.

When removing the matchLabel from the method, listings are correct, check the log below.

Any idea what may have changed here?

1. Versions: Nakama {3.9.0}, {Docker}
2. Server Framework Runtime language (If relevant) {TS/JS}

```auto
{\"authoritative\":true,\"size\":1,\"label\":\"-1_2\",\"matchId\":\"8afe8742-44bd-460a-8318-5a6caa60a167.nakama1\"}

```

---

<div class="post-metadata">

**Author:** ![zyro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/zyro/32/14_2.png) [@zyro](https://forum.heroiclabs.com/u/zyro)\
**Post date:** [November 8, 2021, 4:47pm UTC](https://forum.heroiclabs.com/t/matchlist-fails-when-using-match-label-in-latest-version/2066/2 "2021-11-08T16:47:21Z")

</div>

@Leonidas Looks like a config issue with the 3.9.0 build, it’s been fixed and will be part of the next release. Meanwhile you can use a query rather than exact label filter, or use 3.8.0 until the next release. Thanks for pointing this out! 👍
