restore correct url