fixed typo in main.js line 372