changed how links are handled