fix main.js route