Fixed minor issues with routes and link paths