add missing app.c in 5a65442515