app.chain: fix compile error