fixing routes.js