fix release cxTypes crash