fix main.js after remove date