use uri instead of hash