fix cxExit crush