fixed the routes