fixed a typo in lib/app.js