Fixing setUri definition