Fix runtime error get mod in MttWidget