route all links using router
remove empty lines