fixed monotext init crash

fixed monotext init crash