fixing busted links in document version edit