fix bug where alarms aren't set at startup time