routes.js fix