Fixed incorrect pointer in NameToUrl