[URIGen] Fixed Variable Bug