Fixed relativeUri bug