uri: fix constructor loop