apply bug 820716 to avoid Assertion failure: OOPInitialized()