fix when include tg
Inherits