chore: fix compose 1.9 compile error (#1580)