fixed a url resolving issue