removed bug in app.js