routes.js bugfix #3