bug fix in uri