fixed npe when no app.ALL specified