fix to crash on deleteNotify