fixed corrupt Alarms file