Fixed ActiceX shutdown crash bug!!