fixed static alarms bug
static_alarm is breaking somehow