Fixing some issues with the url manager