fixing URIs