correct routes to paths