set delete pointer to null