fixed URI class bug