Fixing some bugs in the URL access