replaced a bug check code with ASURA_ASSERT.