fix error in app.js