totally fix the URI compare problems