Minor fix in simple_app.c