fixed bug with main.js on bronze