Bugfixes for url and md_format initialization