uri modified inside init function