use app.delete instead of app.del