fix url lookup for backward compat