finishing encodeuri and encode uri info functionality