fixed storing 2 alarms