error corrected on app.js