change prev commit to use app.enabled()