add nested uri support and uriParameter checking