Fix URI utility bug