Can not load selected list

this is blueprint of… “site/team/sanghak-lee”
there is “works : type:pages” so I can choose content in other pages.

Screen Shot 2022-10-27 at 11.59.38 PM

but when i try to load that list’s title and url,
nothing happen…

<?php snippet('header') ?>
    $listPages = $page->list()->toPages();
        <h1><?= $page->title() ?></h1><br>
        <?= $page->position() ?><br>
        <?= $page->role() ?><br>
        <?php foreach ($listPages as $p): ?>
            <?= $p->title() ?>
        <?php endforeach ?>

<?php snippet('footer') ?>

so i tried just <?= $page->works() ?> which is list’s fields name, then…
they can read something but like this:

how can i solve this…?

So the field name seems to be works not list. Change to

$listPages = $page->works()->toPages();