to make URI work while app is open