fix Cannot set property '_origloadPageCB' of undefined