fix display problem and add app.all