Fixing order of operations in app.php set_default