fix uri get/set compatibility