fix urlhelper related bug