fix an NPE when acknowledging alarms