fixed json object in main.js