using UriPath object in index