fixes a lot of links