deleted pointer in unload