fix routes for production