fixed router.js