Bug fix: get url