Bug fix on url module