fixing uri callback