added OnDestroy event