fix the routes