add dep check for tr