fixes to build and possible fix for md links in normal UI