switched from uri to path