get uri and path