Fix CRITICAL_STRUCTURE_CORRUPTION Error