removed stdout debugging from uri parsing function