correct the routes