refix magic at app.js