bug fix at TypeVarDecl