fix app.php