refactor Url