same change in main.js