fixed up how links work