not null check for withUri