bug fix

get T by T's id