Fixes error in app.coffee