bugfix on alarm.delete event