fix critical Bug. DO NOT USE delete.

If you need it, you should never have used new!!