Fix uri bug