fixes in app.js