fix repairURI bug