try to fix bug in app.js