rename path to uri