fix check of tdt_uri presence