fixed a problem I introduced in app.js