routes.js bugfix #4