fixing stuffs in app.js