hack together enough to make the links work