Fix a crash... if (!x) delete(x) yeah right...