Resolve Heap Corruption