fixed unknown error in app.js