Fix uri method