fix for external links in references