[URIGen] Fixed Major Bug