Handle nested uri