fix url manager phase 2
fixing bugs
Fixing web url manager phase 2