some fix, but app.js is still broken