fix xnamath crash
ddd