fix XMASSERT