joy: Fix API misuse