fixed $route linking issue which was not allowing external links to work